<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        while(true){
            var i = prompt('请输入一个数字')
            var jieguo1 = Number(i)>10?i:('0'+i)
            alert(jieguo1)
        }
    </script>

</head>
<body>
    
</body>
</html>